package com.burst.reptile.modular.api.form;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

import lombok.Data;

/**
 * 修改密码表单
 * @author wujin
 *
 * @date: 2020-9-4 10:04:18
 */
@Data
public class EditPwdForm implements Serializable{

	private static final long serialVersionUID = 1L;

	/**
	 * 新密码
	 */
	@NotBlank(message = "密码不能为空")
	@Size(min = 6, max = 20, message = "请输入6-20位英文或数字")
	private String password;
	
	/**
	 * 请求唯一标识
	 */
	@NotBlank(message = "验证码不正确")
	private String uuid;
	
	/**
	 * 验证码
	 */
	@NotBlank(message = "验证码不正确")
	private String code;
}
